/**
 * @author 挚爱之夕
 * @date 2021/9/12 - 09 - 12 - 19:41
 * @Description: PACKAGE_NAME
 * @Version: 1.0
 */
public class Music {
    private String name;
    private String author;
    private double time;

    public Music(String name, String author, double time) {
        this.name = name;
        this.author = author;
        this.time = time;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public double getTime() {
        return time;
    }

    public void setTime(double time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", time=" + time +
                "s }";
    }
}
